package com.niiwoo.civet.trade.dto.request;

import com.niiwoo.civet.base.enums.OrderTradeSourceEnum;
import com.niiwoo.civet.base.enums.RefundTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 还款请求
 * @wangjun
 */
@Getter
@Setter
@ToString
public class RefundRequestDTO implements Serializable
{
    private static final long serialVersionUID = 111051357022624276L;
    private String borrowUserId;
    @NotNull
    private Long projectId;
    @NotNull
    private RefundTypeEnum refundType;//还款类型，参考RefundTypeEnum
    @NotNull
    private OrderTradeSourceEnum orderTradeSource;//调用来源，参考OrderTradeSourceEnum

    private String orgRequestNo;

}
